<!DOCTYPE html>
<html lang="en">
{% load staticfiles %}
<head>
    <meta charset="UTF-8">
    <title>婚纱成品</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css"
          integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"
            integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
            crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
            integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
            crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js"
            integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
            crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css" href="{% static 'css/reset.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/mj_weddingdress.css' %}">
    <link rel="stylesheet" href="{% static 'css/mj_wd_footer.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/mj_wd_mjhs.css' %}">
    <link rel="stylesheet" href="{% static 'css/mj_wd_shop.css' %}">
    <script src="{% static 'js/jquery.min.js' %}"></script>


</head>
<body>
<div class="wd_top">
    <div class="new_top">
        <div class="mj_hunsha_top" style="box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);">
            <div class="hunsha_innerwrap">
                <h1>
                    <a href="{% url 'weddingdress:mj_weddingdress' %}" class="mj_logo">蜜匠婚纱</a>
                </h1>
                <div>
                    <ul class="mj_menu">
                        <li class="mj_index">
                            <a href="{% url 'index:mjindex' %}" target="_blank" title="蜜匠首页">蜜匠首页</a>
                        </li>
                        <li class="hs_current">
                            <a href="{% url 'weddingdress:mj_weddingdress' %}" title="首页">婚纱首页</a>
                        </li>
                        <li class="hs_hover">
                            <a href="{% url 'weddingdress:mj_wd_xinnianghunsha' %}" target="_blank"
                               title="婚纱礼服">婚纱礼服</a>
                        </li>

                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<div class='wd_lb' style="">
    <div id="wdlb">
        <div id="carouselExampleIndicators" class="carousel slide wdlb" data-ride="carousel">
            <div class="carousel-inner">
                <div class="carousel-item active">
                    <img data-original="{% static 'images/mj_HS/wd_fd_1.jpg' %}"
                         src="{% static 'images/loading.jpg' %}"
                         class="lazy active d-block w-100" alt="1">
                </div>
                <div class="carousel-item">
                    <img data-original="{% static 'images/mj_HS/wd_fd_2.jpg' %}" src="{% static 'images/loading.jpg' %}"
                         class="lazy d-block w-100" alt="2">
                </div>
                <div class="carousel-item">
                    <img data-original="{% static 'images/mj_HS/wd_fd_3.jpg' %}" src="{% static 'images/loading.jpg' %}"
                         class="lazy d-block w-100" alt="3">
                </div>
            </div>
            <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>
    </div>
    <div class="carousel-indicators">
        <div data-target="#carouselExampleIndicators" data-slide-to="0" class="buttonpic active">
            <img data-original="{% static 'images/mj_HS/wd_fd_1.jpg' %}"
                 src="{% static 'images/loading.jpg' %}" class="lazy" alt="">
        </div>
        <div data-target="#carouselExampleIndicators" data-slide-to="1" class="buttonpic">
            <img data-original="{% static 'images/mj_HS/wd_fd_2.jpg' %}"
                 src="{% static 'images/loading.jpg' %}" class="lazy" alt="">
        </div>
        <div data-target="#carouselExampleIndicators" data-slide-to="2" class="buttonpic">
            <img data-original="{% static 'images/mj_HS/wd_fd_3.jpg' %}"
                 src="{% static 'images/loading.jpg' %}" class="lazy" alt="">
        </div>
    </div>
    <div class="pictext">
        <p class="name">粉鸢</p>
        <p class="name-ch">粉黛烫钻秀禾服</p>
        <p class="des-text">中式立领设计贴合颈部线条，3D立体剪裁修饰精致廓形，双层袖口设计尽显端庄大气；<br>
            粉黛色精密烫钻打造色彩层次感。</p>
        <div class="detail-btn clearfix">
            <div class="anymore fl btn-yuyue">预约试纱</div>
            <div class="anymore fl book" onclick="">加入收藏</div>
        </div>
    </div>
    <div class="rtpic">
        <img data-original="{% static 'images/mj_HS/wd_fd_1.jpg' %}" src="{% static 'images/loading.jpg' %}"
             class="lazy" alt="">
    </div>
</div>

<div class="wd_tuijian">
    <div class="text">
        <p>相关推荐</p>
    </div>
    <div class="wd_shop">
        <ul class="list_shop">
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="" class="pic_text"><img data-original="{% static 'images/mj_HS/hs_1.jpg' %}"
                                                 src="{% static 'images/loading.jpg' %}" alt="" class="pic lazy">
                    <div class="text_info">
                        <p class="title">粉鸢</p>
                        <p class="des">粉鸢烫钻秀乔服</p>
                    </div>
                </a>
            </li>

        </ul>
    </div>
</div>
<!--新尾部-->
<div class="global-footer">
    <div class="inner-wrap">
        <ul class="into-list">
            <li>
                <p class="title">蜜屿婚纱</p>

                <a target="_blank" class="more-base" data-title="新娘婚纱"
                   href="{% url 'weddingdress:mj_wd_xinnianghunsha' %}" title="新娘婚纱">
                    <span><span><strong>新娘婚纱</strong></span></span>
                </a>

                <a target="_blank" class="more-base" data-title="中式嫁衣"
                   href="{% url 'weddingdress:mj_wd_zhongshi' %}" title="中式嫁衣">
                    <span><span><strong>中式嫁衣</strong></span></span>
                </a>

                <a target="_blank" class="more-base" data-title="礼服"
                   href="{% url 'weddingdress:mj_wd_lifu' %}" title="礼服">
                    <span><span><strong>礼服</strong></span></span>
                </a>

                <a target="_blank" class="more-base" data-title="男士礼服"
                   href="{% url 'weddingdress:mj_wd_lifuboy' %}" title="男士礼服">
                    <span><span><strong>男士礼服</strong></span></span>
                </a>
            </li>
            <!--            <li>-->
            <!--                <p class="title">探索</p>-->
            <!--                <a target="_blank" class="more-base" data-title="品牌理念" href="https://www.mijwed.com/lifu/brand.html" title="品牌理念">-->
            <!--                    <span><span><strong>品牌理念</strong></span></span>-->
            <!--                </a>-->
            <!--                <a target="_blank" class="more-base" data-title="实体门店" href="https://www.mijwed.com/lifu/stores.html" title="实体门店">-->
            <!--                    <span><span><strong>实体门店</strong></span></span>-->
            <!--                </a>-->
            <!--                &lt;!&ndash; <a target="_blank" class="more-base" data-title="服务指南" href="#" title="服务指南">-->
            <!--                    <span><span><strong>服务指南</strong></span></span>-->
            <!--                </a> &ndash;&gt;-->
            <!--            </li>-->
        </ul>
        <div class="service-tel">
            <p class="text">24小时服务热线</p>
            <a class="tel">15176987627</a>
        </div>
        <div class="footer-msg">
            Copyright © 2021 <a target="_blank" href="{% url 'index:mjindex' %}" title="蜜匠婚礼">mijwed.com</a>
            <a target="_blank" rel="nofollow" href="#" title="蜜匠婚礼"> 京ICP备17029003号 </a>
            <a target="_blank" href="#" rel="nofollow" title="蜜匠婚礼">
                <img src="{% static 'images/copyright.png' %}" alt="" class="site-map-pic">
            </a>
            <a target="_blank" rel="nofollow" href="#" title="隐私保护">隐私保护</a>
            |
            <a target="_blank" rel="nofollow" href="#" title="免责声明">免责声明</a>
            |
            <a target="_blank" rel="nofollow" href="#" title="知识产权">知识产权</a>
        </div>
    </div>
</div>
</body>
</html>
<script src="{% static 'js/jquery.min.js' %}"></script>
<script src="{% static 'js/jquery.lazyload.min.js' %}"></script>
<script>
    $(document).ready(function () {
        $("img.lazy").lazyload({
            threshold: 200,
            placeholder: "images/loading.jpg"
        });
    });
</script>

<script>

    windows.onload = function () {
        var wdlb = document.getElementById('wdlb');
        var list = document.getElementById('list');
        var buttons = document.getElementById('buttons');
        var prev = document.getElementById('prev');
        var next = document.getElementById('next');
        console.log(list)

        //左右按钮
        next.onclick = function () {
            list.style.left = parseInt(list.style.left) - 426 + 'px';
        };
        prev.onclick = function () {
            list.style.left = parseInt(list.style.left) + 426 + 'px';
        }
    }
</script>